#include<iostream>
#include<signal.h>
#include<sys/types.h>
#include<stdlib.h>
using namespace std;

void Usage(std::string proc)
{
  cout <<"Usgae\n\t" << proc << " pid sig_number" << endl;
}

// mykill pid signal
int main(int argc,char* argv[])
{
  if(argc != 3)
  {
    Usage(argv[0]);
    exit(1);
  }
  pid_t pid = (pid_t)atoi(argv[1]);
  int sig = atoi(argv[2]);
  kill(pid,sig); 
  return 0;
}
